package com.ljx.recruitment.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.recruitment.user.domain.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User> {
    User getByRecommendCode(String recommendCode);

    void saveUserRole(@Param("userId") Long userId, @Param("roleId") Long roleId);
}
